<?php

class Nav {
	var $label;
	var $page;
	var $subNav;

	function Nav ($label, $page, $subNav = 0)
	{
		$this->label = $label;
		$this->page = $page;
		if ($subNav == 0 || !is_array($subNav))
		{
			$this->subNav = array();
		}
		else
		{
			$this->subNav = $subNav;
		}
	}
}

$__NAV = array(
		"home" => new Nav("Home", "index",
			array(
				new Nav("Home", "index"),
				new Nav("Change Password", "password"),
			)),
		"admin" => new Nav("Admin", "admin",
			array(
				new Nav("User", "admin"),
			)),

);

?>
